package rmip;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Hashtable;
import java.util.Vector;

public interface ClientInt extends Remote {

    public void sendMessageToClient(String sender, String msg) throws RemoteException;

    public void convGui(String senderMail, String receverMail, ServerInt s) throws RemoteException;

    public boolean inconv(String mail) throws RemoteException;

    public void sendGMessageToClient(String sender, String msg) throws RemoteException;

    public void startNewGroupChat(String chatname, String mail, ServerInt s) throws RemoteException;

    public void resetGroup(String chatname, Vector g) throws RemoteException;

    public void repaintGroupChat(String chatname, Vector<String> g) throws RemoteException;

    public void sendGMessageToInterActArea(String sender, String msg) throws RemoteException;

    public void repaintList() throws RemoteException;

    public void sendMessage(String msg) throws RemoteException;

    public void down() throws RemoteException;
   public void showRequest(String myMail,String fMail, String msg,ServerInt si) throws RemoteException;

}
